Dataset statistics
| Number of variables | 13 |
|---|---|
| Number of observations | 2965 |
| Missing cells | 0 |
| Missing cells (%) | 0.0% |
| Duplicate rows | 0 |
| Duplicate rows (%) | 0.0% |
| Total size in memory | 301.3 KiB |
| Average record size in memory | 104.0 B |
Variable types
| Numeric | 13 |
|---|
gross_revenue is highly correlated with qtde_invoices and 4 other fields | High correlation |
recency_days is highly correlated with qtde_invoices | High correlation |
qtde_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 4 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 2 other fields | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with gross_revenue and 2 other fields | High correlation |
avg_unique_basket_size is highly correlated with gross_revenue and 2 other fields | High correlation |
gross_revenue is highly correlated with qtde_invoices and 1 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 1 other fields | High correlation |
qtde_products is highly correlated with qtde_invoices | High correlation |
avg_ticket is highly correlated with qtde_returns and 2 other fields | High correlation |
qtde_returns is highly correlated with avg_ticket | High correlation |
avg_basket_size is highly correlated with avg_ticket and 1 other fields | High correlation |
avg_unique_basket_size is highly correlated with avg_ticket and 1 other fields | High correlation |
gross_revenue is highly correlated with qtde_invoices and 2 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 2 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 4 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 2 other fields | High correlation |
avg_recency_days is highly correlated with frequency | High correlation |
frequency is highly correlated with avg_recency_days | High correlation |
avg_basket_size is highly correlated with qtde_items and 1 other fields | High correlation |
avg_unique_basket_size is highly correlated with qtde_items and 1 other fields | High correlation |
gross_revenue is highly correlated with qtde_invoices and 5 other fields | High correlation |
qtde_invoices is highly correlated with gross_revenue and 3 other fields | High correlation |
qtde_items is highly correlated with gross_revenue and 5 other fields | High correlation |
qtde_products is highly correlated with gross_revenue and 3 other fields | High correlation |
avg_ticket is highly correlated with qtde_returns and 2 other fields | High correlation |
qtde_returns is highly correlated with gross_revenue and 6 other fields | High correlation |
avg_basket_size is highly correlated with gross_revenue and 4 other fields | High correlation |
avg_unique_basket_size is highly correlated with gross_revenue and 4 other fields | High correlation |
avg_ticket is highly skewed (γ1 = 25.14445126) | Skewed |
frequency is highly skewed (γ1 = 24.92957584) | Skewed |
qtde_returns is highly skewed (γ1 = 21.97395499) | Skewed |
df_index has unique values | Unique |
customer_id has unique values | Unique |
recency_days has 33 (1.1%) zeros | Zeros |
qtde_returns has 1480 (49.9%) zeros | Zeros |
Reproduction
| Analysis started | 2021-11-19 18:49:33.261086 |
|---|---|
| Analysis finished | 2021-11-19 18:49:55.940572 |
| Duration | 22.68 seconds |
| Software version | pandas-profiling v3.1.0 |
| Download configuration | config.json |
| Distinct | 2965 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2308.542664 |
| Minimum | 0 |
|---|---|
| Maximum | 5689 |
| Zeros | 1 |
| Zeros (%) | < 0.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 185.2 |
| Q1 | 926 |
| median | 2113 |
| Q3 | 3523 |
| 95-th percentile | 5010.2 |
| Maximum | 5689 |
| Range | 5689 |
| Interquartile range (IQR) | 2597 |
Descriptive statistics
| Standard deviation | 1547.283204 |
|---|---|
| Coefficient of variation (CV) | 0.670242412 |
| Kurtosis | -1.011794798 |
| Mean | 2308.542664 |
| Median Absolute Deviation (MAD) | 1265 |
| Skewness | 0.3400689729 |
| Sum | 6844829 |
| Variance | 2394085.312 |
| Monotonicity | Strictly increasing |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1 | < 0.1% |
| 3002 | 1 | < 0.1% |
| 2987 | 1 | < 0.1% |
| 2990 | 1 | < 0.1% |
| 2991 | 1 | < 0.1% |
| 2992 | 1 | < 0.1% |
| 2993 | 1 | < 0.1% |
| 2996 | 1 | < 0.1% |
| 2998 | 1 | < 0.1% |
| 2999 | 1 | < 0.1% |
| Other values (2955) | 2955 |
| Value | Count | Frequency (%) |
| 0 | 1 | |
| 1 | 1 | |
| 2 | 1 | |
| 3 | 1 | |
| 4 | 1 | |
| 5 | 1 | |
| 6 | 1 | |
| 7 | 1 | |
| 8 | 1 | |
| 9 | 1 |
| Value | Count | Frequency (%) |
| 5689 | 1 | |
| 5670 | 1 | |
| 5660 | 1 | |
| 5654 | 1 | |
| 5633 | 1 | |
| 5629 | 1 | |
| 5623 | 1 | |
| 5612 | 1 | |
| 5611 | 1 | |
| 5601 | 1 |
| Distinct | 2965 |
|---|---|
| Distinct (%) | 100.0% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 15270.24992 |
| Minimum | 12347 |
|---|---|
| Maximum | 18287 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 12347 |
|---|---|
| 5-th percentile | 12619.2 |
| Q1 | 13799 |
| median | 15220 |
| Q3 | 16770 |
| 95-th percentile | 17964.8 |
| Maximum | 18287 |
| Range | 5940 |
| Interquartile range (IQR) | 2971 |
Descriptive statistics
| Standard deviation | 1719.522705 |
|---|---|
| Coefficient of variation (CV) | 0.1126060617 |
| Kurtosis | -1.206368645 |
| Mean | 15270.24992 |
| Median Absolute Deviation (MAD) | 1489 |
| Skewness | 0.03249797116 |
| Sum | 45276291 |
| Variance | 2956758.332 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 17850 | 1 | < 0.1% |
| 17588 | 1 | < 0.1% |
| 14905 | 1 | < 0.1% |
| 16103 | 1 | < 0.1% |
| 14626 | 1 | < 0.1% |
| 14868 | 1 | < 0.1% |
| 18246 | 1 | < 0.1% |
| 17115 | 1 | < 0.1% |
| 16611 | 1 | < 0.1% |
| 15912 | 1 | < 0.1% |
| Other values (2955) | 2955 |
| Value | Count | Frequency (%) |
| 12347 | 1 | |
| 12348 | 1 | |
| 12352 | 1 | |
| 12356 | 1 | |
| 12358 | 1 | |
| 12359 | 1 | |
| 12360 | 1 | |
| 12362 | 1 | |
| 12364 | 1 | |
| 12370 | 1 |
| Value | Count | Frequency (%) |
| 18287 | 1 | |
| 18283 | 1 | |
| 18282 | 1 | |
| 18277 | 1 | |
| 18276 | 1 | |
| 18274 | 1 | |
| 18273 | 1 | |
| 18272 | 1 | |
| 18270 | 1 | |
| 18269 | 1 |
| Distinct | 2950 |
|---|---|
| Distinct (%) | 99.5% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 2693.517008 |
| Minimum | 6.2 |
|---|---|
| Maximum | 279138.02 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 6.2 |
|---|---|
| 5-th percentile | 230.892 |
| Q1 | 570.96 |
| median | 1084.1 |
| Q3 | 2308.06 |
| 95-th percentile | 7180.164 |
| Maximum | 279138.02 |
| Range | 279131.82 |
| Interquartile range (IQR) | 1737.1 |
Descriptive statistics
| Standard deviation | 10118.81467 |
|---|---|
| Coefficient of variation (CV) | 3.75672945 |
| Kurtosis | 398.8753032 |
| Mean | 2693.517008 |
| Median Absolute Deviation (MAD) | 671.32 |
| Skewness | 17.65668291 |
| Sum | 7986277.93 |
| Variance | 102390410.3 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 2053.02 | 2 | 0.1% |
| 1353.74 | 2 | 0.1% |
| 734.94 | 2 | 0.1% |
| 1025.44 | 2 | 0.1% |
| 598.2 | 2 | 0.1% |
| 533.33 | 2 | 0.1% |
| 731.9 | 2 | 0.1% |
| 2092.32 | 2 | 0.1% |
| 379.65 | 2 | 0.1% |
| 745.06 | 2 | 0.1% |
| Other values (2940) | 2945 |
| Value | Count | Frequency (%) |
| 6.2 | 1 | |
| 13.3 | 1 | |
| 36.56 | 1 | |
| 45 | 1 | |
| 52 | 1 | |
| 52.2 | 1 | |
| 52.2 | 1 | |
| 62.43 | 1 | |
| 68.84 | 1 | |
| 70.02 | 1 |
| Value | Count | Frequency (%) |
| 279138.02 | 1 | |
| 259657.3 | 1 | |
| 194550.79 | 1 | |
| 136263.72 | 1 | |
| 124564.53 | 1 | |
| 116725.63 | 1 | |
| 91062.38 | 1 | |
| 72882.09 | 1 | |
| 66653.56 | 1 | |
| 65019.62 | 1 |
| Distinct | 272 |
|---|---|
| Distinct (%) | 9.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 64.21551433 |
| Minimum | 0 |
|---|---|
| Maximum | 373 |
| Zeros | 33 |
| Zeros (%) | 1.1% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 2 |
| Q1 | 11 |
| median | 31 |
| Q3 | 81 |
| 95-th percentile | 242 |
| Maximum | 373 |
| Range | 373 |
| Interquartile range (IQR) | 70 |
Descriptive statistics
| Standard deviation | 77.5781772 |
|---|---|
| Coefficient of variation (CV) | 1.20809088 |
| Kurtosis | 2.760313031 |
| Mean | 64.21551433 |
| Median Absolute Deviation (MAD) | 26 |
| Skewness | 1.79469707 |
| Sum | 190399 |
| Variance | 6018.373578 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 99 | 3.3% |
| 4 | 87 | 2.9% |
| 3 | 85 | 2.9% |
| 2 | 84 | 2.8% |
| 8 | 76 | 2.6% |
| 10 | 67 | 2.3% |
| 7 | 66 | 2.2% |
| 9 | 66 | 2.2% |
| 17 | 64 | 2.2% |
| 22 | 55 | 1.9% |
| Other values (262) | 2216 |
| Value | Count | Frequency (%) |
| 0 | 33 | 1.1% |
| 1 | 99 | |
| 2 | 84 | |
| 3 | 85 | |
| 4 | 87 | |
| 5 | 43 | |
| 7 | 66 | |
| 8 | 76 | |
| 9 | 66 | |
| 10 | 67 |
| Value | Count | Frequency (%) |
| 373 | 2 | |
| 372 | 3 | |
| 371 | 1 | < 0.1% |
| 368 | 1 | < 0.1% |
| 366 | 4 | |
| 365 | 2 | |
| 364 | 1 | < 0.1% |
| 360 | 1 | < 0.1% |
| 359 | 1 | < 0.1% |
| 358 | 4 |
| Distinct | 57 |
|---|---|
| Distinct (%) | 1.9% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 5.724114671 |
| Minimum | 1 |
|---|---|
| Maximum | 206 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 1 |
| Q1 | 2 |
| median | 4 |
| Q3 | 6 |
| 95-th percentile | 17 |
| Maximum | 206 |
| Range | 205 |
| Interquartile range (IQR) | 4 |
Descriptive statistics
| Standard deviation | 8.847148679 |
|---|---|
| Coefficient of variation (CV) | 1.545592495 |
| Kurtosis | 190.1694352 |
| Mean | 5.724114671 |
| Median Absolute Deviation (MAD) | 2 |
| Skewness | 10.7455824 |
| Sum | 16972 |
| Variance | 78.27203974 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 2 | 785 | |
| 3 | 496 | |
| 4 | 394 | |
| 5 | 236 | 8.0% |
| 1 | 189 | 6.4% |
| 6 | 173 | 5.8% |
| 7 | 139 | 4.7% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 54 | 1.8% |
| Other values (47) | 332 |
| Value | Count | Frequency (%) |
| 1 | 189 | 6.4% |
| 2 | 785 | |
| 3 | 496 | |
| 4 | 394 | |
| 5 | 236 | 8.0% |
| 6 | 173 | 5.8% |
| 7 | 139 | 4.7% |
| 8 | 98 | 3.3% |
| 9 | 69 | 2.3% |
| 10 | 54 | 1.8% |
| Value | Count | Frequency (%) |
| 206 | 1 | |
| 198 | 1 | |
| 124 | 1 | |
| 97 | 1 | |
| 91 | 1 | |
| 90 | 1 | |
| 86 | 1 | |
| 72 | 1 | |
| 62 | 2 | |
| 60 | 1 |
| Distinct | 1670 |
|---|---|
| Distinct (%) | 56.3% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 1581.048229 |
| Minimum | 2 |
|---|---|
| Maximum | 196844 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 2 |
|---|---|
| 5-th percentile | 103 |
| Q1 | 297 |
| median | 641 |
| Q3 | 1399 |
| 95-th percentile | 4404 |
| Maximum | 196844 |
| Range | 196842 |
| Interquartile range (IQR) | 1102 |
Descriptive statistics
| Standard deviation | 5702.809377 |
|---|---|
| Coefficient of variation (CV) | 3.606980022 |
| Kurtosis | 517.7456485 |
| Mean | 1581.048229 |
| Median Absolute Deviation (MAD) | 422 |
| Skewness | 18.75302157 |
| Sum | 4687808 |
| Variance | 32522034.79 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 310 | 11 | 0.4% |
| 88 | 9 | 0.3% |
| 150 | 9 | 0.3% |
| 84 | 8 | 0.3% |
| 246 | 8 | 0.3% |
| 260 | 8 | 0.3% |
| 134 | 8 | 0.3% |
| 272 | 8 | 0.3% |
| 288 | 8 | 0.3% |
| 1200 | 7 | 0.2% |
| Other values (1660) | 2881 |
| Value | Count | Frequency (%) |
| 2 | 2 | |
| 12 | 2 | |
| 16 | 1 | |
| 17 | 1 | |
| 18 | 1 | |
| 19 | 1 | |
| 20 | 1 | |
| 23 | 1 | |
| 25 | 1 | |
| 26 | 1 |
| Value | Count | Frequency (%) |
| 196844 | 1 | |
| 79879 | 1 | |
| 77373 | 1 | |
| 69993 | 1 | |
| 64549 | 1 | |
| 64124 | 1 | |
| 62812 | 1 | |
| 58243 | 1 | |
| 57772 | 1 | |
| 50255 | 1 |
| Distinct | 468 |
|---|---|
| Distinct (%) | 15.8% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 122.791231 |
| Minimum | 1 |
|---|---|
| Maximum | 7837 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 9 |
| Q1 | 29 |
| median | 67 |
| Q3 | 135 |
| 95-th percentile | 382 |
| Maximum | 7837 |
| Range | 7836 |
| Interquartile range (IQR) | 106 |
Descriptive statistics
| Standard deviation | 269.3926153 |
|---|---|
| Coefficient of variation (CV) | 2.193907603 |
| Kurtosis | 354.0870004 |
| Mean | 122.791231 |
| Median Absolute Deviation (MAD) | 44 |
| Skewness | 15.67183245 |
| Sum | 364076 |
| Variance | 72572.38116 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 28 | 46 | 1.6% |
| 20 | 38 | 1.3% |
| 35 | 35 | 1.2% |
| 15 | 33 | 1.1% |
| 29 | 32 | 1.1% |
| 11 | 32 | 1.1% |
| 19 | 32 | 1.1% |
| 25 | 30 | 1.0% |
| 26 | 30 | 1.0% |
| 27 | 30 | 1.0% |
| Other values (458) | 2627 |
| Value | Count | Frequency (%) |
| 1 | 5 | 0.2% |
| 2 | 14 | |
| 3 | 15 | |
| 4 | 17 | |
| 5 | 26 | |
| 6 | 28 | |
| 7 | 18 | |
| 8 | 19 | |
| 9 | 27 | |
| 10 | 27 |
| Value | Count | Frequency (%) |
| 7837 | 1 | |
| 5586 | 1 | |
| 5095 | 1 | |
| 4577 | 1 | |
| 2697 | 1 | |
| 2379 | 1 | |
| 2060 | 1 | |
| 1818 | 1 | |
| 1672 | 1 | |
| 1636 | 1 |
| Distinct | 2963 |
|---|---|
| Distinct (%) | 99.9% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 33.00896375 |
| Minimum | 2.150588235 |
|---|---|
| Maximum | 4453.43 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 2.150588235 |
|---|---|
| 5-th percentile | 4.913568645 |
| Q1 | 13.11933333 |
| median | 17.94344444 |
| Q3 | 24.97962963 |
| 95-th percentile | 90.2355 |
| Maximum | 4453.43 |
| Range | 4451.279412 |
| Interquartile range (IQR) | 11.8602963 |
Descriptive statistics
| Standard deviation | 119.5916637 |
|---|---|
| Coefficient of variation (CV) | 3.623005697 |
| Kurtosis | 812.1529304 |
| Mean | 33.00896375 |
| Median Absolute Deviation (MAD) | 5.974748792 |
| Skewness | 25.14445126 |
| Sum | 97871.57751 |
| Variance | 14302.16603 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 14.47833333 | 2 | 0.1% |
| 4.162 | 2 | 0.1% |
| 18.15222222 | 1 | < 0.1% |
| 21.47435897 | 1 | < 0.1% |
| 3.411945289 | 1 | < 0.1% |
| 16.29372093 | 1 | < 0.1% |
| 36.24411765 | 1 | < 0.1% |
| 29.78416667 | 1 | < 0.1% |
| 22.8792623 | 1 | < 0.1% |
| 20.51104167 | 1 | < 0.1% |
| Other values (2953) | 2953 |
| Value | Count | Frequency (%) |
| 2.150588235 | 1 | |
| 2.4325 | 1 | |
| 2.462371134 | 1 | |
| 2.511241379 | 1 | |
| 2.515333333 | 1 | |
| 2.65 | 1 | |
| 2.656931818 | 1 | |
| 2.707598253 | 1 | |
| 2.760621572 | 1 | |
| 2.770464191 | 1 |
| Value | Count | Frequency (%) |
| 4453.43 | 1 | |
| 3202.92 | 1 | |
| 1687.2 | 1 | |
| 952.9875 | 1 | |
| 872.13 | 1 | |
| 841.0214493 | 1 | |
| 651.1683333 | 1 | |
| 640 | 1 | |
| 624.4 | 1 | |
| 615.75 | 1 |
| Distinct | 1258 |
|---|---|
| Distinct (%) | 42.4% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 67.33544331 |
| Minimum | 1 |
|---|---|
| Maximum | 366 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 8 |
| Q1 | 26 |
| median | 48.28571429 |
| Q3 | 85.33333333 |
| 95-th percentile | 200.8 |
| Maximum | 366 |
| Range | 365 |
| Interquartile range (IQR) | 59.33333333 |
Descriptive statistics
| Standard deviation | 63.5194806 |
|---|---|
| Coefficient of variation (CV) | 0.9433290623 |
| Kurtosis | 4.904182516 |
| Mean | 67.33544331 |
| Median Absolute Deviation (MAD) | 26.28571429 |
| Skewness | 2.065743134 |
| Sum | 199649.5894 |
| Variance | 4034.724415 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 14 | 25 | 0.8% |
| 4 | 21 | 0.7% |
| 70 | 21 | 0.7% |
| 7 | 20 | 0.7% |
| 35 | 18 | 0.6% |
| 49 | 18 | 0.6% |
| 46 | 17 | 0.6% |
| 11 | 17 | 0.6% |
| 21 | 17 | 0.6% |
| 26 | 16 | 0.5% |
| Other values (1248) | 2775 |
| Value | Count | Frequency (%) |
| 1 | 16 | |
| 1.5 | 1 | < 0.1% |
| 2 | 13 | |
| 2.5 | 1 | < 0.1% |
| 2.601398601 | 1 | < 0.1% |
| 3 | 15 | |
| 3.321428571 | 1 | < 0.1% |
| 3.330357143 | 1 | < 0.1% |
| 3.5 | 2 | 0.1% |
| 4 | 21 |
| Value | Count | Frequency (%) |
| 366 | 1 | < 0.1% |
| 365 | 1 | < 0.1% |
| 363 | 1 | < 0.1% |
| 362 | 1 | < 0.1% |
| 357 | 2 | |
| 356 | 1 | < 0.1% |
| 355 | 2 | |
| 352 | 1 | < 0.1% |
| 351 | 2 | |
| 350 | 3 |
| Distinct | 1223 |
|---|---|
| Distinct (%) | 41.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 0.1134496828 |
| Minimum | 0.005449591281 |
|---|---|
| Maximum | 17 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0.005449591281 |
|---|---|
| 5-th percentile | 0.008891526541 |
| Q1 | 0.01633986928 |
| median | 0.02588996764 |
| Q3 | 0.04929577465 |
| 95-th percentile | 1 |
| Maximum | 17 |
| Range | 16.99455041 |
| Interquartile range (IQR) | 0.03295590537 |
Descriptive statistics
| Standard deviation | 0.408066171 |
|---|---|
| Coefficient of variation (CV) | 3.596891246 |
| Kurtosis | 991.6621992 |
| Mean | 0.1134496828 |
| Median Absolute Deviation (MAD) | 0.0121913375 |
| Skewness | 24.92957584 |
| Sum | 336.3783096 |
| Variance | 0.1665179999 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 1 | 197 | 6.6% |
| 0.0625 | 17 | 0.6% |
| 0.02777777778 | 17 | 0.6% |
| 0.02380952381 | 16 | 0.5% |
| 0.09090909091 | 15 | 0.5% |
| 0.08333333333 | 15 | 0.5% |
| 0.03448275862 | 14 | 0.5% |
| 0.02941176471 | 14 | 0.5% |
| 0.07692307692 | 13 | 0.4% |
| 0.02564102564 | 13 | 0.4% |
| Other values (1213) | 2634 |
| Value | Count | Frequency (%) |
| 0.005449591281 | 1 | < 0.1% |
| 0.005464480874 | 1 | < 0.1% |
| 0.005479452055 | 1 | < 0.1% |
| 0.005494505495 | 1 | < 0.1% |
| 0.005586592179 | 2 | |
| 0.005602240896 | 1 | < 0.1% |
| 0.005617977528 | 2 | |
| 0.00566572238 | 1 | < 0.1% |
| 0.005681818182 | 2 | |
| 0.005698005698 | 3 |
| Value | Count | Frequency (%) |
| 17 | 1 | < 0.1% |
| 3 | 1 | < 0.1% |
| 2 | 6 | 0.2% |
| 1.142857143 | 1 | < 0.1% |
| 1 | 197 | |
| 0.75 | 1 | < 0.1% |
| 0.6666666667 | 3 | 0.1% |
| 0.550802139 | 1 | < 0.1% |
| 0.5308310992 | 1 | < 0.1% |
| 0.5 | 3 | 0.1% |
| Distinct | 213 |
|---|---|
| Distinct (%) | 7.2% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 34.82765599 |
| Minimum | 0 |
|---|---|
| Maximum | 9014 |
| Zeros | 1480 |
| Zeros (%) | 49.9% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 0 |
|---|---|
| 5-th percentile | 0 |
| Q1 | 0 |
| median | 1 |
| Q3 | 9 |
| 95-th percentile | 99.6 |
| Maximum | 9014 |
| Range | 9014 |
| Interquartile range (IQR) | 9 |
Descriptive statistics
| Standard deviation | 282.96619 |
|---|---|
| Coefficient of variation (CV) | 8.124755514 |
| Kurtosis | 595.9615111 |
| Mean | 34.82765599 |
| Median Absolute Deviation (MAD) | 1 |
| Skewness | 21.97395499 |
| Sum | 103264 |
| Variance | 80069.86469 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 0 | 1480 | |
| 1 | 164 | 5.5% |
| 2 | 147 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 6 | 78 | 2.6% |
| 5 | 61 | 2.1% |
| 12 | 51 | 1.7% |
| 7 | 43 | 1.5% |
| 8 | 43 | 1.5% |
| Other values (203) | 704 |
| Value | Count | Frequency (%) |
| 0 | 1480 | |
| 1 | 164 | 5.5% |
| 2 | 147 | 5.0% |
| 3 | 105 | 3.5% |
| 4 | 89 | 3.0% |
| 5 | 61 | 2.1% |
| 6 | 78 | 2.6% |
| 7 | 43 | 1.5% |
| 8 | 43 | 1.5% |
| 9 | 41 | 1.4% |
| Value | Count | Frequency (%) |
| 9014 | 1 | |
| 8004 | 1 | |
| 4427 | 1 | |
| 3768 | 1 | |
| 3331 | 1 | |
| 2878 | 1 | |
| 2022 | 1 | |
| 2012 | 1 | |
| 1776 | 1 | |
| 1594 | 1 |
avg_basket_size
Real number (ℝ≥0)
HIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATION| Distinct | 1973 |
|---|---|
| Distinct (%) | 66.5% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 236.045703 |
| Minimum | 1 |
|---|---|
| Maximum | 6009.333333 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 44.04444444 |
| Q1 | 103.3 |
| median | 172 |
| Q3 | 281.5 |
| 95-th percentile | 598.54 |
| Maximum | 6009.333333 |
| Range | 6008.333333 |
| Interquartile range (IQR) | 178.2 |
Descriptive statistics
| Standard deviation | 283.9474436 |
|---|---|
| Coefficient of variation (CV) | 1.202934177 |
| Kurtosis | 102.8409514 |
| Mean | 236.045703 |
| Median Absolute Deviation (MAD) | 82.75 |
| Skewness | 7.7098636 |
| Sum | 699875.5094 |
| Variance | 80626.15071 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 100 | 11 | 0.4% |
| 114 | 10 | 0.3% |
| 73 | 9 | 0.3% |
| 82 | 9 | 0.3% |
| 86 | 9 | 0.3% |
| 136 | 8 | 0.3% |
| 88 | 8 | 0.3% |
| 163 | 8 | 0.3% |
| 140 | 8 | 0.3% |
| 75 | 8 | 0.3% |
| Other values (1963) | 2877 |
| Value | Count | Frequency (%) |
| 1 | 1 | |
| 2 | 1 | |
| 3.333333333 | 1 | |
| 5.333333333 | 1 | |
| 5.666666667 | 1 | |
| 6.142857143 | 1 | |
| 7.5 | 1 | |
| 9 | 1 | |
| 9.5 | 1 | |
| 11 | 1 |
| Value | Count | Frequency (%) |
| 6009.333333 | 1 | |
| 4282 | 1 | |
| 3906 | 1 | |
| 3868.65 | 1 | |
| 2880 | 1 | |
| 2801 | 1 | |
| 2733.944444 | 1 | |
| 2518.769231 | 1 | |
| 2160.333333 | 1 | |
| 2082.225806 | 1 |
avg_unique_basket_size
Real number (ℝ≥0)
HIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATIONHIGH CORRELATION| Distinct | 1973 |
|---|---|
| Distinct (%) | 66.5% |
| Missing | 0 |
| Missing (%) | 0.0% |
| Infinite | 0 |
| Infinite (%) | 0.0% |
| Mean | 236.045703 |
| Minimum | 1 |
|---|---|
| Maximum | 6009.333333 |
| Zeros | 0 |
| Zeros (%) | 0.0% |
| Negative | 0 |
| Negative (%) | 0.0% |
| Memory size | 23.3 KiB |
Quantile statistics
| Minimum | 1 |
|---|---|
| 5-th percentile | 44.04444444 |
| Q1 | 103.3 |
| median | 172 |
| Q3 | 281.5 |
| 95-th percentile | 598.54 |
| Maximum | 6009.333333 |
| Range | 6008.333333 |
| Interquartile range (IQR) | 178.2 |
Descriptive statistics
| Standard deviation | 283.9474436 |
|---|---|
| Coefficient of variation (CV) | 1.202934177 |
| Kurtosis | 102.8409514 |
| Mean | 236.045703 |
| Median Absolute Deviation (MAD) | 82.75 |
| Skewness | 7.7098636 |
| Sum | 699875.5094 |
| Variance | 80626.15071 |
| Monotonicity | Not monotonic |
Histogram with fixed size bins (bins=50)
| Value | Count | Frequency (%) |
| 100 | 11 | 0.4% |
| 114 | 10 | 0.3% |
| 73 | 9 | 0.3% |
| 82 | 9 | 0.3% |
| 86 | 9 | 0.3% |
| 136 | 8 | 0.3% |
| 88 | 8 | 0.3% |
| 163 | 8 | 0.3% |
| 140 | 8 | 0.3% |
| 75 | 8 | 0.3% |
| Other values (1963) | 2877 |
| Value | Count | Frequency (%) |
| 1 | 1 | |
| 2 | 1 | |
| 3.333333333 | 1 | |
| 5.333333333 | 1 | |
| 5.666666667 | 1 | |
| 6.142857143 | 1 | |
| 7.5 | 1 | |
| 9 | 1 | |
| 9.5 | 1 | |
| 11 | 1 |
| Value | Count | Frequency (%) |
| 6009.333333 | 1 | |
| 4282 | 1 | |
| 3906 | 1 | |
| 3868.65 | 1 | |
| 2880 | 1 | |
| 2801 | 1 | |
| 2733.944444 | 1 | |
| 2518.769231 | 1 | |
| 2160.333333 | 1 | |
| 2082.225806 | 1 |
Spearman's ρ
The Spearman's rank correlation coefficient (ρ) is a measure of monotonic correlation between two variables, and is therefore better in catching nonlinear monotonic correlations than Pearson's r. It's value lies between -1 and +1, -1 indicating total negative monotonic correlation, 0 indicating no monotonic correlation and 1 indicating total positive monotonic correlation.To calculate ρ for two variables X and Y, one divides the covariance of the rank variables of X and Y by the product of their standard deviations.
Pearson's r
The Pearson's correlation coefficient (r) is a measure of linear correlation between two variables. It's value lies between -1 and +1, -1 indicating total negative linear correlation, 0 indicating no linear correlation and 1 indicating total positive linear correlation. Furthermore, r is invariant under separate changes in location and scale of the two variables, implying that for a linear function the angle to the x-axis does not affect r.To calculate r for two variables X and Y, one divides the covariance of X and Y by the product of their standard deviations.
Kendall's τ
Similarly to Spearman's rank correlation coefficient, the Kendall rank correlation coefficient (τ) measures ordinal association between two variables. It's value lies between -1 and +1, -1 indicating total negative correlation, 0 indicating no correlation and 1 indicating total positive correlation.To calculate τ for two variables X and Y, one determines the number of concordant and discordant pairs of observations. τ is given by the number of concordant pairs minus the discordant pairs divided by the total number of pairs.
Phik (φk)
Phik (φk) is a new and practical correlation coefficient that works consistently between categorical, ordinal and interval variables, captures non-linear dependency and reverts to the Pearson correlation coefficient in case of a bivariate normal input distribution. There is extensive documentation available here. A simple visualization of nullity by column.
Nullity matrix is a data-dense display which lets you quickly visually pick out patterns in data completion.
First rows
| df_index | customer_id | gross_revenue | recency_days | qtde_invoices | qtde_items | qtde_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 17850 | 5391.2100 | 372.0000 | 34.0000 | 1733.0000 | 297.0000 | 18.1522 | 35.5000 | 17.0000 | 40.0000 | 50.9706 | 50.9706 |
| 1 | 1 | 13047 | 3232.5900 | 56.0000 | 9.0000 | 1390.0000 | 171.0000 | 18.9040 | 27.2500 | 0.0283 | 35.0000 | 154.4444 | 154.4444 |
| 2 | 2 | 12583 | 6705.3800 | 2.0000 | 15.0000 | 5028.0000 | 232.0000 | 28.9025 | 23.1875 | 0.0403 | 50.0000 | 335.2000 | 335.2000 |
| 3 | 3 | 13748 | 948.2500 | 95.0000 | 5.0000 | 439.0000 | 28.0000 | 33.8661 | 92.6667 | 0.0179 | 0.0000 | 87.8000 | 87.8000 |
| 4 | 4 | 15100 | 876.0000 | 333.0000 | 3.0000 | 80.0000 | 3.0000 | 292.0000 | 8.6000 | 0.0732 | 22.0000 | 26.6667 | 26.6667 |
| 5 | 5 | 15291 | 4623.3000 | 25.0000 | 14.0000 | 2102.0000 | 102.0000 | 45.3265 | 23.2000 | 0.0401 | 29.0000 | 150.1429 | 150.1429 |
| 6 | 6 | 14688 | 5630.8700 | 7.0000 | 21.0000 | 3621.0000 | 327.0000 | 17.2198 | 18.3000 | 0.0572 | 399.0000 | 172.4286 | 172.4286 |
| 7 | 7 | 17809 | 5411.9100 | 16.0000 | 12.0000 | 2057.0000 | 61.0000 | 88.7198 | 35.7000 | 0.0335 | 41.0000 | 171.4167 | 171.4167 |
| 8 | 8 | 15311 | 60767.9000 | 0.0000 | 91.0000 | 38194.0000 | 2379.0000 | 25.5435 | 4.1444 | 0.2433 | 474.0000 | 419.7143 | 419.7143 |
| 9 | 9 | 16098 | 2005.6300 | 87.0000 | 7.0000 | 613.0000 | 67.0000 | 29.9348 | 47.6667 | 0.0244 | 0.0000 | 87.5714 | 87.5714 |
Last rows
| df_index | customer_id | gross_revenue | recency_days | qtde_invoices | qtde_items | qtde_products | avg_ticket | avg_recency_days | frequency | qtde_returns | avg_basket_size | avg_unique_basket_size | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2955 | 5601 | 17727 | 1060.2500 | 15.0000 | 1.0000 | 645.0000 | 66.0000 | 16.0644 | 6.0000 | 1.0000 | 6.0000 | 645.0000 | 645.0000 |
| 2956 | 5611 | 17232 | 421.5200 | 2.0000 | 2.0000 | 203.0000 | 36.0000 | 11.7089 | 12.0000 | 0.1538 | 0.0000 | 101.5000 | 101.5000 |
| 2957 | 5612 | 17468 | 137.0000 | 10.0000 | 2.0000 | 116.0000 | 5.0000 | 27.4000 | 4.0000 | 0.4000 | 0.0000 | 58.0000 | 58.0000 |
| 2958 | 5623 | 13596 | 697.0400 | 5.0000 | 2.0000 | 406.0000 | 166.0000 | 4.1990 | 7.0000 | 0.2500 | 0.0000 | 203.0000 | 203.0000 |
| 2959 | 5629 | 14893 | 1237.8500 | 9.0000 | 2.0000 | 799.0000 | 73.0000 | 16.9568 | 2.0000 | 0.6667 | 0.0000 | 399.5000 | 399.5000 |
| 2960 | 5633 | 12479 | 473.2000 | 11.0000 | 1.0000 | 382.0000 | 30.0000 | 15.7733 | 4.0000 | 1.0000 | 34.0000 | 382.0000 | 382.0000 |
| 2961 | 5654 | 14126 | 706.1300 | 7.0000 | 3.0000 | 508.0000 | 15.0000 | 47.0753 | 3.0000 | 0.7500 | 50.0000 | 169.3333 | 169.3333 |
| 2962 | 5660 | 13521 | 1092.3900 | 1.0000 | 3.0000 | 733.0000 | 435.0000 | 2.5112 | 4.5000 | 0.3000 | 0.0000 | 244.3333 | 244.3333 |
| 2963 | 5670 | 15060 | 301.8400 | 8.0000 | 4.0000 | 262.0000 | 120.0000 | 2.5153 | 1.0000 | 2.0000 | 0.0000 | 65.5000 | 65.5000 |
| 2964 | 5689 | 12558 | 269.9600 | 7.0000 | 1.0000 | 196.0000 | 11.0000 | 24.5418 | 6.0000 | 1.0000 | 196.0000 | 196.0000 | 196.0000 |